<script>
	export default {
		onLaunch: function() {

			
			const updateManager = wx.getUpdateManager()
			updateManager.onCheckForUpdate(function(res) {
				// 请求完新版本信息的回调
				console.log(res.hasUpdate)
				if (res.hasUpdate) {
					updateManager.onUpdateReady(function(ress) {
						updateManager.applyUpdate()
						console.log("===强制更新重启")
					})
				} else {
					updateManager.onUpdateFailed(function() {
						// 新版本下载失败
					})
				}
			})
			console.log('App Launch')
		},
		onShow: function() {
		
			console.log('App Show')
		},
		onHide: function() {
			console.log('App Hide')
		},
		
		
	}
</script>

<style lang="scss">
	@import "@/static/font/iconfont.css";
	@import "@/uni_modules/uview-ui/index.scss";

	.rich_text_img {
		max-width: 100%;
	}

	button::after {
		border: none;
	}

	button {
		margin: 0;
		padding: 0;
		background-color: #fff !important;
	}

	.cred {
		color: #feb746;
	}

	.cbd {
		color: #bdbdbd;
	}

	// .content {
	// 	background: #F1F1F1;
	// }

	.zanwuimg {
		width: 400rpx;
		height: 280rpx;
		margin-bottom: 30rpx;
		margin-top: 150rpx;
	}

	.mask {
		position: fixed;
		left: 0;
		top: 0;
		right: 0;
		bottom: 0;
		/* #ifndef APP-NVUE */
		display: flex;
		/* #endif */
		justify-content: center;
		align-items: center;
		background-color: rgba(0, 0, 0, 0.7);
	}

	.cac {
		color: #ACACAC;
	}

	/*每个页面公共css */
	.fs38 {
		font-size: 38rpx;
	}

	.p15 {
		padding: 15rpx;
	}

	.p20 {
		padding: 25rpx;
	}

	.p30 {
		padding: 30rpx;
	}

	.cb {
		color: #205da9;
	}

	.fs26 {
		font-size: 26rpx;
	}

	.fs34 {
		font-size: 34rpx !important;
	}


	.fs30 {
		font-size: 30rpx;
	}

	.fs42 {
		font-size: 42rpx;
	}

	.f1 {
		flex: 1;
	}

	.f2 {
		flex: 2;
	}

	.f3 {
		flex: 3;
	}

	.f4 {
		flex: 4
	}

	.dis_f {
		display: flex;
	}

	.jub {
		justify-content: space-between;
	}

	.juc {
		justify-content: center;
	}

	.juse {
		justify-content: space-evenly;
	}

	.jusa {
		justify-content: space-around;
	}

	.jus {
		justify-content: start;
	}

	.jue {
		justify-content: flex-end;
	}

	.aic {
		align-items: center;
	}

	.aie {
		align-items: flex-end;
	}

	.fdc {
		flex-direction: column;
	}

	.fww {
		flex-wrap: wrap;
	}


	// 字体大小
	.fs22 {
		font-size: 22rpx;
	}

	.fs24 {
		font-size: 24rpx;
	}

	.fs28 {
		font-size: 28rpx;
	}

	.fs36 {
		font-size: 36rpx;
	}

	.fs20 {
		font-size: 20rpx;
	}

	.fs40 {
		font-size: 40rpx;
	}

	.fs46 {
		font-size: 46rpx;
	}

	.fs32 {
		font-size: 32rpx;
	}

	.fs60 {
		font-size: 60rpx;
	}

	.fwb {
		font-weight: bold;
	}


	.tr {
		text-align: right;
	}

	.cf {
		color: #FFF;
	}

	.center {
		text-align: center;
	}



	.c6 {
		color: #666666;
	}

	.c9 {
		color: #999999;
	}




	.mt10 {
		margin-top: 10rpx;
	}

	.ml10 {
		margin-left: 10rpx;
	}

	.mr100 {
		margin-right: 100rpx;
	}

	.mr10 {
		margin-right: 10rpx;
	}

	.mb10 {
		margin-bottom: 10rpx;
	}

	.mb30 {
		margin-bottom: 30rpx;
	}

	.mb40 {
		margin-bottom: 40rpx;
	}

	.mt20 {
		margin-top: 20rpx;
	}

	.ml20 {
		margin-left: 20rpx;
	}

	.mr20 {
		margin-right: 20rpx;
	}

	.mb20 {
		margin-bottom: 20rpx;
	}

	.mt30 {
		margin-top: 30rpx;
	}

	.ml30 {
		margin-left: 30rpx;
	}

	.mr30 {
		margin-right: 30rpx;
	}

	.mt40 {
		margin-top: 40rpx;
	}

	.ml40 {
		margin-left: 40rpx;
	}

	.mr40 {
		margin-right: 40rpx;
	}

	.mt50 {
		margin-top: 50rpx;
	}

	.ml50 {
		margin-left: 50rpx;
	}

	.mr50 {
		margin-right: 50rpx;
	}

	.mr80 {
		margin-right: 80rpx;
	}

	.b_t {
		border-top: 2rpx solid #F0F0F0;
	}

	.b_b {
		border-bottom: 2rpx solid #F0F0F0;
	}

	.h100 {
		height: 100%;
	}

	.w100 {
		width: 100%;
	}

	.zanwu {
		text-align: center;
		padding: 30rpx 0;
		font-size: 30rpx;
	}

	.oh1 {
		text-overflow: -o-ellipsis-lastline;
		overflow: hidden;
		text-overflow: ellipsis;
		display: -webkit-box;
		-webkit-line-clamp: 1;
		line-clamp: 1;
		-webkit-box-orient: vertical;
	}

	.oh2 {
		text-overflow: -o-ellipsis-lastline;
		overflow: hidden;
		text-overflow: ellipsis;
		display: -webkit-box;
		-webkit-line-clamp: 2;
		line-clamp: 2;
		-webkit-box-orient: vertical;
	}

	.oh3 {
		text-overflow: -o-ellipsis-lastline;
		overflow: hidden;
		text-overflow: ellipsis;
		display: -webkit-box;
		-webkit-line-clamp: 3;
		line-clamp: 3;
		-webkit-box-orient: vertical;
	}

	.oh4 {
		text-overflow: -o-ellipsis-lastline;
		overflow: hidden;
		text-overflow: ellipsis;
		display: -webkit-box;
		-webkit-line-clamp: 4;
		line-clamp: 4;
		-webkit-box-orient: vertical;
	}
</style>